import {request} from "../request.js"

// 生成充值订单
export function genRechargeOrder(amount) {
	return request({
		url: "/api-order/auth/genRechargeOrder",
		data: { amount: amount }
	})
}

// 生成物品租借订单
export function genRentGoodsOrder(rentGoodsId, count) {
	return request({
		url: "/api-order/auth/genRentGoodsOrder",
		data: {
			rentGoodsId: rentGoodsId,
			count: count
		}
	})
}

